//
//  LTY_ClassCollectionViewCell.m
//  MooMusic
//
//  Created by 守护神 on 15/10/22.
//  Copyright © 2015年 wjy. All rights reserved.
//

#import "LTY_ClassCollectionViewCell.h"

@implementation LTY_ClassCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _label = [[UILabel alloc] initWithFrame:CGRectZero];
        [self.contentView addSubview:_label];
    }
    
    return self;
}

// item布局
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    
    _label.frame = CGRectMake(0, 0, SCREENWIDTH / 5.5, 50);
    _label.backgroundColor = [UIColor orangeColor];
    _label.textAlignment = NSTextAlignmentCenter;
    
}



@end
